﻿using System.Windows.Forms;
using Data.Common;
using Data.Condition;
using Data.Model;
using Data.ViewModel;

namespace DataAccess.BikeManage
{
    public interface ILockPile
    {
        ResultInfo<int> CreateOrUpdateLockPile(jsh_lockpile pile);
        ResultInfo<bool> DeleteLockPile(int id);
        ResultInfo<jsh_lockpile> GetLockPile(int id);
        ResultInfo<PagingDataSet<LockPileView>> GetLockPiles(SearchLockPileCondition searchLockPileCondition, int pageIndex, int pageSize);
    }
}
